package com.wq.myspring.aware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * @PackageName: com.wq.myspring.aware
 * @ClassName Mytest
 * @Description: TODO
 * @Author Wenqiang
 * @Date 2021/07/18 0:01
 * @Version V1.0
 */
@ComponentScan("com.wq.myspring.aware")
public class Mytest {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Mytest.class);
		MyAware myAware = context.getBean("myAware", MyAware.class);
		myAware.option();

	}
}
